﻿using OAS.Application.System.Dtos;
using OAS.Application.WorkApp.Dtos;
using OAS.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OAS.Application.WorkApp.Services
{
    public interface IWorkService
    {
        Task<List<Work>> GetAllWork();
        Task<List<DtoWork>> GetWorkByStatus();
        Task<object> GetWorkList(DtoQuery dto);
        Task AddWork(Work work);
        Task<Work> UpdateWork(Work work);
        Task DeleteWork(string[] ids);
    }
}
